package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 实名认证对象 certificate_image
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("实名认证-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "certificate_image")
public class CertificateImageEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 医生主键
	 */
	@ApiModelProperty("医生主键")
	private Long doctId;

	/**
	 * 证书详情id
	 */
	@ApiModelProperty("证书详情id")
	private String fileInforId;

	/**
	 * 图片类型01-身份证02-医师执业证03-医师资格证书04-专业技术资格证
	 */
	@ApiModelProperty("图片类型01-身份证02-医师执业证03-医师资格证书04-专业技术资格证")
	private String imgType;

	/**
	 * 正反面标志
	 */
	@ApiModelProperty("正反面标志")
	private String frontBack;

	/**
	 * 上传人
	 */
	@ApiModelProperty("上传人")
	private Long uploadUser;

	/**
	 * 上传时间
	 */
	@ApiModelProperty("上传时间")
	private Date uploadTime;

}
